<?php
include_once("../../../common/module/checkA.php");
include_once("../../../../config.php");
?>




<?php
$nid=$_GET['nid'];
$table_Suffix=$_GET['table'];
//设置需要搜索的表格的前缀后缀
$table=$table_Prefix.$table_Suffix;
//设置需要搜索的表格的前缀后缀


echo $sql = "DELETE FROM $table WHERE nid = $nid";
$query=mysql_query($sql) or die ("error:".mysql_error());
mysql_close($con);

echo 1;//表示成功


?>


